package com.four.order.service.impl;


import com.four.order.dao.CauseDao;
import com.four.order.entity.OrCause;
import com.four.order.service.CauseService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author:lky
 * @Date: 2022/01/13/16:00
 * @Description
 */
@Service
public class CauseServiceImpl implements CauseService {

    @Autowired
    private CauseDao causeDao;

    @Override
    public List<OrCause> findAll() {
        return causeDao.findAll();
    }
}
